package com.wteam.PoJo.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.jsonwebtoken.io.Serializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVO implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "简介")
    private String description;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别，0为女，1为男")
    private Integer gender;

    @ApiModelProperty(value = "ip地址")
    private String ip;

    @ApiModelProperty(value = "积分")
    private Integer points;

    @ApiModelProperty(value = "我的粉丝数")
    private Integer fans;

    @ApiModelProperty(value = "我的关注数")
    private Integer following;
}
